package com.glela.packet.service;

import java.math.BigDecimal;
import java.util.List;

import com.glela.domain.vo.RedPacketShareHistVo;
import com.glela.packet.model.RedPacketShareHist;

public interface RedPacketShareHistService {
	int queryShareTimes(Long userId);

	BigDecimal querySumAmount(Long userId);

	List<RedPacketShareHistVo> showRedPacketShareLists(Long userId);
	
  RedPacketShareHist getRedPacketShareHistById(int id);

  boolean saveRedPacketShareHist(RedPacketShareHist redPacketShareHist);

  RedPacketShareHist getRedPacketShareHisByShareUrl(String shareUrl);

  boolean updateRedPacketShareHist(RedPacketShareHist redPacketShareHist);

  boolean batchUpdateRedPacketShareHist(List<RedPacketShareHist> list);

}
